package com.ccp.dev.qbdms.model;

import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 质量奖惩管理表 w_qbd_quality_rewards_message
 * 
 * @author hw
 * @date 2020-07-06 14:10:36
 */
@ExpAnnotation(description = "质量奖惩信息管理")
@ImpAnnotation(description = "质量奖惩信息管理")
@FlowSubject(subjectName = "质量奖惩信息")
public class WQbdQualityRewardsMessage extends  BaseBusinessModel<WQbdQualityRewardsMessage>
{
	private static final long serialVersionUID = 1L;

    /**
     * 主键id
    */
    private String  id;
    /**
     * 事件名称
    */
    @Record(value = "事件名称")
    @ImpAnnotation(description = "事件名称",isRequired = true)
    @ExpAnnotation(description = "事件名称")
    private String  incidentName;
    /**
     * 类别
    */
    @Record(value = "类别")
    @ImpAnnotation(description = "类别",isRequired = true)
    @ExpAnnotation(description = "类别")
    private String  qualityType;
    /**
     * 是否完成责任追究
    */
    @Record(value = "是否完成责任追究")
    @ImpAnnotation(description = "是否完成责任追究")
    @ExpAnnotation(description = "是否完成责任追究")
    private String  completeAccountabilityFlag;
    /**
     * 总金额
    */
    @Record(value = "总金额")
    @ImpAnnotation(description = "总金额")
    @ExpAnnotation(description = "总金额")
    private BigDecimal  aggregateAmount;
    /**
     * 认定情况
    */
    @Record(value = "认定情况")
    @ImpAnnotation(description = "认定情况",isRequired = true)
    @ExpAnnotation(description = "认定情况")
    private String  firmlyBelieveSituation;
    /**
     * 奖惩原因
    */
    @Record(value = "奖惩原因")
    @ImpAnnotation(description = "奖惩原因")
    @ExpAnnotation(description = "奖惩原因")
    private String  rewardsReason;
    /**
     * 来源
     */
    @Record(value = "来源")
    private String dataFrom;
    /**
     * 单位名称
     */
    @Record(value = "单位名称")
    private String companyName;

    /**
     * 子表数据
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    private List<WQbdQualityRewardsMsgSub> wQbdQualityRewardsMsgSubList;

    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getIncidentName() {
        return this.incidentName;
    }
    public void setIncidentName(String incidentName) {
        this.incidentName = incidentName;
    }
    public String getQualityType() {
        return this.qualityType;
    }
    public void setQualityType(String qualityType) {
        this.qualityType = qualityType;
    }
    public String getCompleteAccountabilityFlag() {
        return this.completeAccountabilityFlag;
    }
    public void setCompleteAccountabilityFlag(String completeAccountabilityFlag) {
        this.completeAccountabilityFlag = completeAccountabilityFlag;
    }
    public BigDecimal getAggregateAmount() {
        return this.aggregateAmount;
    }
    public void setAggregateAmount(BigDecimal aggregateAmount) {
        this.aggregateAmount = aggregateAmount;
    }
    public String getFirmlyBelieveSituation() {
        return this.firmlyBelieveSituation;
    }
    public void setFirmlyBelieveSituation(String firmlyBelieveSituation) {
        this.firmlyBelieveSituation = firmlyBelieveSituation;
    }
    public String getRewardsReason() {
        return this.rewardsReason;
    }
    public void setRewardsReason(String rewardsReason) {
        this.rewardsReason = rewardsReason;
    }

    public String getDataFrom() {
        return dataFrom;
    }

    public void setDataFrom(String dataFrom) {
        this.dataFrom = dataFrom;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public List<WQbdQualityRewardsMsgSub> getwQbdQualityRewardsMsgSubList() {
        return wQbdQualityRewardsMsgSubList;
    }

    public void setwQbdQualityRewardsMsgSubList(List<WQbdQualityRewardsMsgSub> wQbdQualityRewardsMsgSubList) {
        this.wQbdQualityRewardsMsgSubList = wQbdQualityRewardsMsgSubList;
    }

    @Override
    public String toString() {
        return "WQbdQualityRewardsMessage{" +
                "id='" + id + "'," +
                "incidentName='" + incidentName + "'," +
                "qualityType='" + qualityType + "'," +
                "completeAccountabilityFlag='" + completeAccountabilityFlag + "'," +
                "aggregateAmount='" + aggregateAmount + "'," +
                "firmlyBelieveSituation='" + firmlyBelieveSituation + "'," +
                "rewardsReason='" + rewardsReason + "'," +
                "dataFrom='" + dataFrom + "'," +
                "companyName='" + companyName + "'," +
                "wQbdQualityRewardsMsgSubList='" + wQbdQualityRewardsMsgSubList + "'" +
                '}';
    }

}
